AIOSEO\Plugin\Common\Admin\Admin D

Total Complexity 150
Dependencies 6
Dependents 0
Total lines 1,359
Lines of code 833
Logical lines of code 305
Comment lines 365
Methods 37
Properties 7

Methods 37

Method Rating Maintainability Complexity Lines of code
hooks()
C
34 23 89
addMenu()
A
42 10 52
addActiveMenuTooltips()
A
41 9 66
adminBarMenu()
A
44 10 41
appendTrashedMessage()
A
45 10 40
addPageAnalyzerMenuItems()
S
39 3 74
setPages()
S
40 3 73
addSettingsMenuItems()
S
52 6 24
addGutenbergLinkFormatScript()
S
48 5 34
hideScheduledActionsMenu()
S
58 6 15
__construct()
S
54 5 20
addEditSeoMenuItem()
S
55 5 19
init()
S
56 5 16
unslashEscapedDataPosts()
S
50 4 27
addPublishScore()
S
52 3 28
registerLinkFormatHooks()
S
61 4 11
getFirstAvailablePageSlug()
S
63 4 11
getScoreClass()
S
64 4 10
dismissActiveMenuTooltips()
S
64 4 8
isAioseoScreen()
S
60 3 14
addFooterText()
S
51 1 31
alwaysAddHtmlDirAttribute()
S
70 3 6
addPluginScripts()
S
63 3 10
addClassicLinkFormatScript()
S
50 1 28
enqueueBlockEditorLinkFormat()
S
63 2 11
getColumnsToUnslash()
S
54 1 25
page()
S
68 2 8
addAdminBarMenuItems()
S
71 2 6
addMainMenu()
S
64 1 11
deactivationSurvey()
S
79 1 3
scheduleUnescapeData()
S
75 1 4
getPageRequiredCapability()
S
80 1 3
checkForRedirects()
S
98 1 1
loadTextDomain()
S
81 1 3
addAioseoModalPortal()
S
82 1 3
addFooterPromotion()
S
76 1 4
enqueueAssets()
S
74 1 4